﻿using System;
namespace t_205_verk_hopur_12.Models
{
    public interface IScheduleRepository
    {
        void AddToSchedule(int id, int videoID, DateTime startTime, DateTime endTime);
        bool CheckForOverlapInSchedule(int channelID, int scheduleID, DateTime startTime, DateTime endTime);
        void DeleteSchedule(int scheduleID);
        ScheduleVideo GetCurrentScheduleVideoByID(int channelID);
        System.Linq.IQueryable<ScheduleVideo> GetScheduleByDay(int channelID, DateTime date);
        ScheduleVideo getScheduleById(int scheduleID);
        Schedule getScheduleItemById(int scheduleID);
        void Save();
    }
}
